package com.ruoyi.warn.service;

import java.util.List;
import com.ruoyi.warn.domain.BusWaterWarnruleConditions;

/**
 * 预警规则条件Service接口
 * 
 * @author maliang
 * @date 2025-09-10
 */
public interface IBusWaterWarnruleConditionsService 
{
    /**
     * 查询预警规则条件
     * 
     * @param id 预警规则条件主键
     * @return 预警规则条件
     */
    public BusWaterWarnruleConditions selectBusWaterWarnruleConditionsById(String id);

    /**
     * 查询预警规则条件列表
     * 
     * @param busWaterWarnruleConditions 预警规则条件
     * @return 预警规则条件集合
     */
    public List<BusWaterWarnruleConditions> selectBusWaterWarnruleConditionsList(BusWaterWarnruleConditions busWaterWarnruleConditions);

    /**
     * 新增预警规则条件
     * 
     * @param busWaterWarnruleConditions 预警规则条件
     * @return 结果
     */
    public int insertBusWaterWarnruleConditions(BusWaterWarnruleConditions busWaterWarnruleConditions);

    /**
     * 修改预警规则条件
     * 
     * @param busWaterWarnruleConditions 预警规则条件
     * @return 结果
     */
    public int updateBusWaterWarnruleConditions(BusWaterWarnruleConditions busWaterWarnruleConditions);

    /**
     * 批量删除预警规则条件
     * 
     * @param ids 需要删除的预警规则条件主键集合
     * @return 结果
     */
    public int deleteBusWaterWarnruleConditionsByIds(String[] ids);

    /**
     * 删除预警规则条件信息
     * 
     * @param id 预警规则条件主键
     * @return 结果
     */
    public int deleteBusWaterWarnruleConditionsById(String id);
}
